/*
 * WorldViewControl.hpp
 *
 *  Created on: 27-12-2010
 *      Author: Przemek
 */

#pragma once

#include "gui/Control.hpp"
#include "gui/ClipArea.hpp"
#include "utils/GLColor.hpp"
#include "listener/SelectElementMouseListener.hpp"
#include "world/creation/CreationState.hpp"

/*
 * Main control which has the responsibility to display the world singleton instance.
 */
class WorldViewControl: public Control
{
	private:
		static const GLColor BACKGROUND;
		SelectElementMouseListener* selectElementMouseListener;
		CreationState* creationState;

	public:
		WorldViewControl(SelectElementMouseListener* selectElementMouseListener,
				CreationState* creationState);
		void draw(const ClipArea& clipArea);
};

